package co.yixiang.yshop.module.product.controller.admin.productcoupon.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 优惠券cdkey ExcelVO")
@Data
@ToString(callSuper = true)
public class ProductCouponCdKeyExcelVO {
    @Schema(description = "优惠券名", example = "1")
    @ExcelProperty("优惠券名称")
    private String couponName;

    @Schema(description = "优惠券兑换码", example = "1")
    @ExcelProperty("优惠券兑换码")
    private String code = "-";

    @Schema(description = "领取用户", example = "1")
    @ExcelProperty("领取用户")
    private String username;

    @Schema(description = "使用状态", example = "1")
    @ExcelProperty("使用状态")
    private String stateName;

    @Schema(description = "领取时间", example = "1")
    @ExcelProperty("领取时间")
    private LocalDateTime receiveTime;

    @Schema(description = "使用时间", example = "1")
    @ExcelProperty("使用时间")
    private LocalDateTime usageTime;

    @Schema(description = "券创建时间", example = "1")
    @ExcelProperty("券创建时间")
    private LocalDateTime createTime;
}
